package shared;

/**
 * The constants which are shared by the server and clients.
 * @author Yang Liu
 * @version Verison 0.0.4
 */
public abstract interface BVZConstants {
	
	//	Game Configuration
	public static final int GAMEWINDOWWIDTH = 1200;
	public static final int GAMEWINDOWHEIGHT = 600;
	public static final int GAMEFRAMERATE = 60;
	public static final String GAMESERVERIP = "127.0.0.1";
	public static final int GAMESERVERPORT = 5208;
	
	//	Type of Birds
	public static final int NORMALBIRDS = 1;
	public static final int FASTBIRDS = 2;
	public static final int HEAVYBIRDS = 3;
	
	//Type of Blocks
	public static final String WOODBLOCK = "wb";
		public static final String WOODBLOCKSMALL = "wbs";
		public static final String WOODBLOCKLARGE = "wbl";
		public static final String WOODBLOCKMEDIUM = "wbm";
		public static final String WOODBLOCKFRAME = "wbf";
	public static final String STONEBLOCK ="sb";
		public static final String STONEBLOCKSMALL = "sbs";
		public static final String STONEBLOCKLARGE = "sbl";
		public static final String STONEBLOCKMEDIUM = "sbm";
		public static final String STONEBLOCKFRAME = "sbf";
	public static final String ICEBLOCK = "ib";
		public static final String ICEBLOCKSMALL = "ibs";
		public static final String ICEBLOCKLARGE = "ibl";
		public static final String ICEBLOCKMEDIUM = "ibm";
		public static final String ICEBLOCKFRAME = "ibf";
	
	//	Type of Zombies
	public static final String ZOMBIE = "zb";
		public static final String NORMALZOMBIE = "nz";
		public static final String PUNKZOMBIE = "pz";
		public static final String JACKSONZOMBIE = "jz";
		
	//	Type of Birds
	public static final String BIRD = "bd";
		public static final String NORMALBIRD = "nbd";
		public static final String BLACKBIRD = "bbd";
		public static final String WHITEBIRD = "wbd";
		public static final String TOUGHBIRD = "tbd";
		
	//	Audio Files
	public static final String SHOOTERBUTTONAUDIO = "bird 04 select.wav";
	public static final String DEFENDERBUTTONAUDIO = "zgroan.mp3";
	public static final String SHOOTERBUTTONSELECTED = "bird next military a1.wav";
	public static final String DEFENDERBUTTONSELECTED = "awooga.mp3";
	
	public static final String BIRDSCOLLISION = "bird 01 collision a4.wav";
	
	
	//Type of Zombies
	public static final int NORMALZOMBIES = 1;
	public static final int TOUGHZOMBIES = 2;
	
	
	//	Clients sending messages to Sever
	public static final int CLIENTCONNECTED = -1;
	public static final int CLIENTJOININ = 0;
	public static final int CLIENTSTART = 1;
	public static final int CLIENTRUNNINGPHYS = 2;
	
	//	Player Roles
	public static final int BIRDSSHOOTER = 0;
	public static final int ZOMBIESDEFENDER = 1;
	public static final int NOROLE = 2;
	public static final int SOMETHINGWRONGWITHTHERESULT = 3;

	//	Sever sending messages to Clients
	public static final int SERVERWELCOMEMESSAGE = 0;
	public static final int SERVERPHYSINITCOMPLETED = 1;
	public static final int SERVERRUNPHYS = 2;
	
	//	Mouse Status on Clients
	public static final int MOUSECLICKED = 0;
	public static final int MOUSEPRESSED = 1;
	public static final int MOUSEDRAGGED = 2;
	public static final int MOUSERELEASED = 3;
	
	//	Server Events
	public static final int COLLISIONEVENT = 0;
	public static final int GAMEOVER = 1;
}
